[#include "/pages/root/tigris-macros.ftl" /]
[@startPage pageTitle="用户列表"/]

	[@menuPage name="Root" /]
	<div class="rrcc">
		<div class="contnet"></div>
		<div class="right" style="display: block;">
			<div class="right01"><img src=""> 后台管理 &gt; ${pageTitle}</div>
			<div style="margin-bottom:1px;" class="contenttitle radiusbottom0">
		    	<h2 class="form" id="vertical"><span>用户维护</span></h2>
		    </div>
			<div>
			 	[@c.url value="/root/User_delete.action" var='delUrl'][@c.param name="id" value=""/][/@c.url]
    			[@c.url value="/root/User_edit.action" var='editUrl'][@c.param name="id" value=""/][/@c.url]
				[@demo.tableDisplayer id="userTable" renderTo="${renderTo}" ajaxPage="false" property="userList" pagesize=4 page="/root/User_list.action?id=${id}" name="FreemarkerTable" config="/pages/component/table/table-sort.ftl" bundle="messageSource" onLoad="alert('ok')"]
					[@demo.column name="batch" title="" innerHtml="\linput type='checkbox' value='[#id]'/\g" headHtml="\lspan class='checkbox'\g\linput type='checkbox' class='checkall' /\g\l/span\g" headerClass="" columnClass="span-atom center"/]
					[@demo.column name="id" property="id" title="ID" columnClass="span-tiny" /]
					[@demo.column name="userName" property="userName" title="账户" columnClass="span3" /]
					[@demo.column name="registerTime" property="registerTime" format="yyyy-MM-dd" title="注册时间" columnClass=""/]
					[@demo.column name="expireday" property="expireDay" format="yyyy-MM-dd" title="到期日" columnClass=""/]
					[@demo.column name="enabled" property="enabled" title="可用" format="可用:禁用" columnClass="center"/]
					[@demo.column name="locked" property="locked" title="锁定" format="已锁定:未锁定" columnClass="center"/]
					[@demo.column name="isValid" property="isValid" title="有效" format="有效:无效" columnClass="center"/] 	
					[@demo.column name="operate" property="id" title="操作" columnClass="span2 center " innerHtml="\la href=\'${editUrl}[#id]\' act='view' class='' \g编辑\l/a\g&nbsp;|&nbsp;\la href=\'${delUrl}[#id]\' act='del' class='ajax' \g删除\l/a\g&nbsp;" headerClass="batch"/]
				[/@demo.tableDisplayer]
			</div>
		</div>
	</div>
[@endPage/]
